const koa = require("koa");
const router = require("koa-router")();
const app = new koa();
const show = require("./spider/index.js");
router.get("/",async ctx=>{
    let res = await show();
    ctx.body = {
        code:200,
        result:res
    }
})
app.use(router.routes());
app.listen(4000);
